package com.tian.mapper;

import com.tian.dto.StationInfoDto;
import com.tian.entity.Station;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Station record);

    Station selectByPrimaryKey(Long id);

    List<Station> selectAll();
    List<Station> selectListByStation(StationInfoDto stationInfoDto);
    int selectListByStationCount(Station record);

    int updateByPrimaryKey(Station record);
}